const { VITE_HIDE_HOME } = import.meta.env;
const Layout = () => import("@/layout/index.vue");

export default {
  path: "/service",
  component: Layout,
  redirect: "/service/index",
  meta: {
    icon: "ep:chrome-filled",
    title: "服务管理",
    rank: 2
  },
  children: [
    {
      path: "/service/index",
      name: "service",
      component: () => import("@/views/service/index.vue"),
      meta: {
        title: "服务分类"
      }
    },
    {
      path: "/service/goods",
      name: "serviceGoods",
      component: () => import("@/views/service/goods.vue"),
      meta: {
        title: "服务项目"
      }
    }
  ]
} satisfies RouteConfigsTable;
